package com.wxiao.exam.mapper;

import com.wxiao.exam.pojo.QuestionDO;
import com.wxiao.exam.pojo.vo.QuestionVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/** 
 * <br/>
 * Created by wangxiao on 2019/07/08
 */
@Repository
public interface QuestionMapper {

    Integer addQuestion(QuestionVO questionVO);

    Integer updateQuestion(QuestionVO questionVO);

    QuestionDO findDetailQuestion(QuestionVO questionVO);

    List<QuestionDO> listQuestion(QuestionVO questionVO);

    List<QuestionDO> listQuestionPage(QuestionVO questionVO);

    Integer countQuestion(QuestionVO questionVO);

    Integer deleteQuestion(QuestionVO questionVO);

}
